{% extends 'base.html'%}

{% block content %}
	<ul>
		{% for product in products %}
			<li>
				<div class="well">
					<div id="wrapper">
						<div id="first">
							{% if product.image1 %}
								<img src="/media/{{product.image1}}" width='200'>
							{% else %}
								<img src="/static/img/logo/128/christmas_present.png">
							{% endif %}
							<br>
							<br>
						</div>
						<div id="second">
							<a href="{% if product.slug%} {{product.slug}} {% endif %}">{{product}}</a> 
							<div id="second">
								<br>
								{{product.description}}
							</div>
							
						</div>
					</div>
				</div>
				
				
				
			</li>
			<br>
		{% endfor %}
	</ul>
	
	
{% endblock %}